/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package queues;

/**
 * Thrown when the client receives some message, but doesn't recognize the Subject
 * @author Renato Rosa <2101076@my.ipleiria.pt>
 */
public class UnknownSubjectException extends Exception {

    /**
     * Creates a new instance of
     * <code>UnknownSubjectException</code> without detail message.
     */
    public UnknownSubjectException() {
        super("Unknown subject");
    }

    /**
     * Constructs an instance of
     * <code>UnknownSubjectException</code> with the specified detail message.
     *
     * @param msg the detail message.
     */
    public UnknownSubjectException(String msg) {
        super(msg);
    }
}
